<template></template>
<script lang="ts" setup>
import { useRouter, useRoute } from "vue-router";
const router = useRouter();
const route = useRoute();
const redirect = (route.query.redirect as string) || "/";
router.push(redirect);

defineOptions({
  name: "RedirectView"
});
</script>

<style lang="scss" scoped></style>
